<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" 
                                                  prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/cbrmb/remit_cbrmb.js"></script>


<form action="${ctx}/cbrmb/remit/submit.do" id="remit_cbrmb_form"
	name="remit_cbrmb_form" method="post" target="_blank">
	<input type="hidden" value="${sessionScope.gopay_webtest_key}"
		name="VerficationCode" id="VerficationCode">
	<table width="100%">
		<tr>
			<td width="30%" align=right>版本号:</td>
			<td align=left width="45%"><input type="text" id="version" name="version" value="2.0"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font> <span
				id="versionTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>交易代码:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="tranCode"
				name="tranCode" value="${cbrmbremitinfo.tranCode }" size="50" /></td>
			<td width="25%" align=left><font color=red>*</font> <span
				id="tranCodeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户ID:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="merchantID"
				name="merchantID" value="${cbrmbremitinfo.merchantID }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font> <span
				id="merchantIDTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝账号:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payAcctId"
				name="payAcctId" value="${cbrmbremitinfo.payAcctId }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payAcctIdTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>合同名称:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="oriFileName"
				name="oriFileName" value="${cbrmbremitinfo.oriFileName }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="oriFileNameTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>合同上传时间:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text"
				id=fileUploadDateTime" name="fileUploadDateTime"
				value="<%=com.gopay.webtest.util.DateUtils.date2string(new java.util.Date(),
					com.gopay.webtest.util.DateUtils.DEFAULT_PATTERN)%>" size="50" /></td>
			<td width="25%" align=left><font color=red>*</font> <span
				id="fileUploadDateTimeTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>商户订单号:</td>
			<td align=left width="45%"><input type="text"
				id="merOrderNum" name="merOrderNum" value="${cbrmbremitinfo.merOrderNum }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span>
			</td>
		</tr>
		
		<tr>
			<td width="30%" align=right>前台通知地址:</td>
			<td align=left width="45%"><input type="text"
				id="frontMerUrl" name="frontMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/front/recv.do')}"
				size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>商户后台通知地址:</td>
			<td align=left width="45%"><input type="text"
				id="backgroundMerUrl" name="backgroundMerUrl"
				value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font></td>
		</tr>
		
		
		
		<tr>
			<td width="30%" align=right>汇款用途:</td>
			<td align=left width="45%">
			   <select name="tradeType">
					<option value="121010">一般贸易</option>
					<option value="121030">海关特殊监管区域及保税监管场所进出境物流货物</option>
					<option value="122030">未纳入海关统计的网络购物</option>
					<option value="222024">空运客运</option>
					<option value="223010">公务及商务旅行</option>
					<option value="223022">一年以上留学</option>
					<option value="223023">一年内留学</option>
					<option value="223029">其他私人旅行</option>
					<option value="225010">寿险</option>
					<option value="227020">计算机服务</option>
					<option value="228023">管理咨询和公共关系服务</option>
					<option value="228024">广告服务</option>
					<option value="228050">货物或服务交易佣金及相关服务</option>
					<option value="228060">办事处、代表处等办公经费</option>
					<option value="229020">教育服务</option>
					<option value="222011">涉及我国出口的海洋货运服务</option>
					<option value="222012">涉及我国进口的海洋货运服务</option>
					<option value="222021">涉及我国出口的空中货运服务</option>
					<option value="222022">涉及我国进口的空中货运服务</option>
					<option value="222031">涉及我国出口的其他运输方式货运服务</option>
					<option value="222032">涉及我国进口的其他运输方式货运服务</option>
			</select>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		
		<tr>
			<td width="30%" align=right>汇款金额:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="tranAmt"
				name="tranAmt" value="${cbrmbremitinfo.tranAmt }" size="50" /></td>
			<td width="25%" align=left><font color=red>*</font> <span
				id="tranAmtTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>收款方名称:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payeeName"
				name="payeeName"
				value="${cbrmbremitinfo.payeeName }"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payeeNameTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>收款银行账号:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payeeAccountNo"
				name="payeeAccountNo"
				value="${cbrmbremitinfo.payeeAccountNo}"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payeeAccountNoTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>收款方常驻国家:&nbsp;&nbsp;</td>
			<td align=left width="45%">
			   <select name="payeeCountryNo">
			       <option value="HKG">香港|Hong Kong</option>
			       <option value="USA">美国|United States</option>
			       <option value="VAT">梵蒂冈|Vatican</option>	
			   </select>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>收款方开户行名称:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payeeBankName"
				name="payeeBankName"
				value="${cbrmbremitinfo.payeeBankName }"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payeeBankNameTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>Swift Code:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payeeBankSwift"
				name="payeeBankSwift"
				value="${cbrmbremitinfo.payeeBankSwift }"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payeeBankSwiftTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>人行行号:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="payeeBankNo"
				name="payeeBankNo"
				value="${cbrmbremitinfo.payeeBankNo }"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="payeeBankNoTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>汇款留言:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="tradeComment"
				name="tradeComment"
				value="${cbrmbremitinfo.tradeComment }"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tradeCommentTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>公私标识:&nbsp;&nbsp;</td>
			<td align=left width="45%" >
			   <select name="custType" >
			       <option value="1">对公</option>
			       <option value="2">对私</option>
			   </select>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>交易时间:&nbsp;&nbsp;</td>
			<td align=left width="45%"><input type="text" id="tranDateTime"
				name="tranDateTime"
				value="<%=com.gopay.webtest.util.DateUtils.date2string(new java.util.Date(),
					com.gopay.webtest.util.DateUtils.DEFAULT_PATTERN)%>"
				size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span></td>
		</tr>
		
        <tr>
			<td width="30%" align=right>字符集:&nbsp;&nbsp;</td>
			<td align=left width="45%" >
			   <select name="merchantEncode">
			       <option value="2">UTF-8</option>
			       <option value="1">GBK</option>
			   </select>
			</td>
			<td width="25%" align=left></td>
		</tr>	
		
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" name="def_button" id="def_button"
						value="设置默认值">&nbsp;&nbsp; <input type="submit"
						name="submit" id="submit" value="开始测试">
				</center>
			</td>
		</tr>

	</table>
</form>
<div>
	<img src="${ctx}/image/danbaochexiao.jpg" alt="" height="200px"></img>
</div>
